package com.travel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * (TbTripOrder)实体类
 *
 * @author makejava
 * @since 2023-11-08 16:25:28
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TbTripOrder implements Serializable {
    private static final long serialVersionUID = 818847434653211368L;
    @TableId(type = IdType.AUTO)
    private String tripTicketId;
    
    private Integer userId;
    
    private String userRname;
    
    private String userPhone;
    
    private String userCarid;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date tripTicketTime;
    
    private Integer tripTicketStatus;
    
    private String tripTicketFlag;
    
    private BigDecimal tripTicketTotal;

}

